package com.nq.vo.position;

import java.math.BigDecimal;


public class PositionVO {
    // 总盈亏 股票盈亏  + 基金盈亏
    private BigDecimal allProfitAndLose;
    // 总冻结资金 挂单冻结  + 新股收购 + 融资保证金
    private BigDecimal allFreezAmt;
    // 总市值： 股票市值 + 基金市值
    private BigDecimal totalMarket;
    // 总资金 = 用户现金+配资资金+冻结资金
    private BigDecimal totalFunds;
    // 可用资金 = 配资资金+用户现金
    private BigDecimal availableFunds;
    public BigDecimal getTotalMarket() {
        return totalMarket;
    }

    public void setTotalMarket(BigDecimal totalMarket) {
        this.totalMarket = totalMarket;
    }

    public BigDecimal getTotalFunds() {
        return totalFunds;
    }

    public void setTotalFunds(BigDecimal totalFunds) {
        this.totalFunds = totalFunds;
    }

    public BigDecimal getAvailableFunds() {
        return availableFunds;
    }

    public void setAvailableFunds(BigDecimal availableFunds) {
        this.availableFunds = availableFunds;
    }



    public void setAllProfitAndLose(BigDecimal allProfitAndLose) {
        this.allProfitAndLose = allProfitAndLose;
    }

    public void setAllFreezAmt(BigDecimal allFreezAmt) {
        this.allFreezAmt = allFreezAmt;
    }

    public BigDecimal getAllProfitAndLose() {
        return this.allProfitAndLose;
    }


    public BigDecimal getAllFreezAmt() {
        return this.allFreezAmt;
    }
}
